﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Scrolling.aspx.cs" Inherits="SilverlightControlToolkit._noScriptSharp.Scrolling" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/Silverlight.js" />
            <asp:ScriptReference Path="~/aaagctrl.debug.js" />
            <asp:ScriptReference Path="~/SilverlightControlToolkit.debug.js" />
            <asp:ScriptReference Path="~/ScrollingManager.js" />
        </Scripts>
    </asp:ScriptManager>
    <script type="text/javascript">
       Sys.Application.add_init(function()
       {
            $create(ScrollingManager,{id:'host',width : 640, height:280, xamlPath:"Scrolling.xaml"},null,null, $get("host"));
       });
       </script>
    <div id="host">
        
    </div>
    <div id="htmlButtons">
    <input type="button" value="Page Flip" onclick="$find('host').usePageFlip()" />
    <input type="button" value="Classic" onclick="$find('host').useScrollBars()" />
    </div>
    </form>
</body>
</html>
